<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>flex 单飞翼布局</title>
		<style>
			.box {
				background-color: #f00;
				display: flex;
			}
			.box .left {
				width: 230px;
				height: 100vh;
				background-color: #0ff;
				/* 设置不允许缩小 */
				flex-shrink: 0;
			}
			.box .right {
				background-color: #ff0;
				height: 100vh;
				/* 右侧区域设置允许放大，且占据所有剩余空间 */
				flex-grow: 1;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="left">不放大也不缩小</div>
			<div class="right">会放大会缩小</div>
		</div>
	</body>
</html>